// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import store from './store'
import router from './router'
import {Icon, XButton, ToastPlugin, LoadingPlugin,
    Tabbar, TabbarItem,ViewBox,XHeader,Selector,Group,
    XNumber,Cell,Actionsheet,ConfirmPlugin} from 'vux'


Vue.component('Icon', Icon)
Vue.component('XButton', XButton)
Vue.use(ToastPlugin)
Vue.use(LoadingPlugin)
Vue.component('tabbar', Tabbar)
Vue.component('tabbar-item', TabbarItem)
Vue.component('view-box', ViewBox)
Vue.component('x-header', XHeader)
Vue.component('selector', Selector)
Vue.component('group', Group)
Vue.component('x-number', XNumber)
Vue.component('cell', Cell)
Vue.component("Actionsheet",Actionsheet)
Vue.use(ConfirmPlugin)
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store: store,
    components: {App},
    template: '<App/>'
})
